#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

JAVA_HOME = /usr/lib/kaffe

DEB_ANT_BUILD_TARGET = all
DEB_ANT_INSTALL_TARGET = install
DEB_ANT_CLEAN_TARGET = clean
DEB_ANT_ARGS += -Dprefix=/usr -Ddestdir=$(DEB_DESTDIR)

install/jlgui::
	mv $(DEB_DESTDIR)/usr/bin/jlgui.sh $(DEB_DESTDIR)/usr/bin/jlgui 
	chmod +x $(DEB_DESTDIR)/usr/bin/jlgui
